<style>
    .select-line{
        cursor: pointer;
    }
    .select-line:hover{
        background-color: #ddd;
    }
</style>
<div class="ui-table">
    <div class="ui-table-body ui-table-body-hover">
        <table cellpadding="0" cellspacing="0" width="100%">
            <thead>
            <tr class="ui-table-head">
                <th class="ui-table-hcell" width="60">{:lang('item_number')}</th>
                <th class="ui-table-hcell">{:lang('name')}</th>
                <th class="ui-table-hcell">{:lang('category')}</th>
                <th class="ui-table-hcell" width="80">{:lang('price')}</th>
                <th class="ui-table-hcell aliziQuantity" width="40">库存</th>
                <th class="ui-table-hcell" width="30">{:lang('package')}</th>
            </tr>
            </thead>
            <tbody>
            <volist name="list" id="vo">
                <tr class="select-line" onclick="closeLayer(this)" id="row-{$vo.id}" data-id="{$vo.id}" data-sn="{$vo.sn}" data-name="{$vo.name}" data-price="{$vo.price}">
                    <td>{$vo.sn}</td>
                    <td>
                        {$vo.name}
                        <!--<notempty name="vo.image"><a href="{$vo.image|imageUrl}" title="{:lang('image')}"-->
                                                     <!--target="_blank"><img src="__PUBLIC__/Assets/img/pic.jpg"/></a>-->
                        <!--</notempty>-->
                        <!--<eq name="vo.is_hot" value="1"><img src="__PUBLIC__/Assets/img/hot.gif"/></eq>-->
                    </td>
                    <td>{$vo.category_id|getFields="Category","name",###}</td>
                    <td>{$vo.price}{:lang('yuan')}</td>
                    <td class="aliziQuantity">{$vo.quantity}</td>
                    <td>{$vo.params|json_decode=true|count}</td>
                </tr>
            </volist>
            </tbody>
        </table>
    </div>
</div>
<script>
    function closeLayer(_this) {

    }
</script>
